package com.deyuan.mapper;

import com.deyuan.bean.Student;
import com.deyuan.bean.StudentVo;

import java.util.List;

public interface StudentMapper {
    Student queryById(int id);

    int add(Student student);

    List<Student> queryAll();

    void delete(StudentVo studentVo);

    List<Student> queryByName(String name);

    void update(Student student);
}
